#if !defined(ximera_audio_openal_openal_hpp)
#define ximera_audio_openal_openal_hpp

// -----------------------------------------------------------

#include <ximera/config.hpp>
#include <ximera/exception.hpp>

extern "C" 
{
    #include <AL/al.h>
    #include <AL/alut.h>
    #include <AL/alc.h>
}

namespace ximera { namespace audio { namespace openal
{
    XIMERA_DECLARE_PLUGIN_EXCEPTION(OpenAlException, L"OpenAl Error");

    void checkErrorAndThrow();
    void checkErrorAndThrow(String const& message);
}}}

// -----------------------------------------------------------

#endif